package com.wtwd.wtwddevice.model.entity;

import com.wtwd.device.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author mjy
 * @since 2024-05-15
 */
@ApiModel(value="LastLocationData对象", description="")
public class LastLocationData extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "设备id")
    private Long deviceId;

    @ApiModelProperty(value = "纬度")
    private String lat;

    @ApiModelProperty(value = "经度")
    private String lng;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "定位精度")
    private String accuracy;

    @ApiModelProperty(value = "速度")
    private Integer speed;

    @ApiModelProperty(value = "角度")
    private String angle;

    @ApiModelProperty(value = "总里程")
    private String mile;

    @ApiModelProperty(value = "定位时间")
    private String locationTime;

    @ApiModelProperty(value = "定位类型1:gps,2ibs,3wif")
    private String locationType;

    @ApiModelProperty(value = "gps数量")
    private Integer gpsNum;

    public Long getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getLng() {
        return lng;
    }

    public void setLng(String lng) {
        this.lng = lng;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAccuracy() {
        return accuracy;
    }

    public void setAccuracy(String accuracy) {
        this.accuracy = accuracy;
    }

    public Integer getSpeed() {
        return speed;
    }

    public void setSpeed(Integer speed) {
        this.speed = speed;
    }

    public String getAngle() {
        return angle;
    }

    public void setAngle(String angle) {
        this.angle = angle;
    }

    public String getMile() {
        return mile;
    }

    public void setMile(String mile) {
        this.mile = mile;
    }

    public String getLocationTime() {
        return locationTime;
    }

    public void setLocationTime(String locationTime) {
        this.locationTime = locationTime;
    }

    public String getLocationType() {
        return locationType;
    }

    public void setLocationType(String locationType) {
        this.locationType = locationType;
    }

    public Integer getGpsNum() {
        return gpsNum;
    }

    public void setGpsNum(Integer gpsNum) {
        this.gpsNum = gpsNum;
    }

    @Override
    public String toString() {
        return "LastLocationData{" +
        "deviceId=" + deviceId +
        ", lat=" + lat +
        ", lng=" + lng +
        ", address=" + address +
        ", accuracy=" + accuracy +
        ", speed=" + speed +
        ", angle=" + angle +
        ", mile=" + mile +
        ", locationTime=" + locationTime +
        ", locationType=" + locationType +
        ", gpsNum=" + gpsNum +
        "}";
    }
}
